#receiver a file from server

import poplib, getpass

pop3server = poplib.POP3("pop.gmail.com", 995)
print "User:"
pop3server.user(getpass.getuser());
print "PSW:"
pop3server.pass_(getpass.getpass());